﻿export { jsPDF } from "jspdf";
import simsun from "@/assets/simsun.ttf"

var callAddFont = function () {
  this.addFileToVFS("simsun-normal.ttf", simsun);
  this.addFont("simsun-normal.ttf", "simsun", "normal");
};
jsPDF.API.events.push(["addFonts", callAddFont]);

export default jsPDF;
